package tgc.edu.exam.entity;

import java.util.UUID;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Transient;

import org.springframework.data.annotation.CreatedBy;

import tgc.edu.exam.custom.BaseEntity;

/***
 * 视频课件表
 * @author zmq
 *
 */

@Entity
public class VideoCourseware extends BaseEntity<UUID> {

	private SysFile sysfile;
	private TbClass tbclass;
	/**
	 * 是否启用
	 */
	private boolean isstart;
	@ManyToOne
	@CreatedBy
	public SysFile getSysfile() {
		return sysfile;
	}
	public void setSysfile(SysFile sysfile) {
		this.sysfile = sysfile;
	}
	@ManyToOne
	@CreatedBy
	public TbClass getTbclass() {
		return tbclass;
	}
	public void setTbclass(TbClass tbclass) {
		this.tbclass = tbclass;
	}
	public boolean isIsstart() {
		return isstart;
	}
	public void setIsstart(boolean isstart) {
		this.isstart = isstart;
	}
}
